package com.kl.enums;

import java.awt.*;

/**
 * @author CC
 * time 2024-05-14
 * description
 *  坦克类型
 */
public enum TankType {

    HERO(Color.CYAN),
    ENEMY(Color.YELLOW)
    ;

    private final Color color;
    TankType(Color color){
        this.color=color;
    }
    public Color getColor(){
        return this.color;
    }


    @Override
    public String toString() {
        return super.toString();
    }
}
